package com.ethink.warehouse.common.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ethink.warehouse.api.response.StockOutOrderDetailGetDetailResponse;
import org.apache.ibatis.annotations.Mapper;
import com.ethink.warehouse.common.entity.StockOutOrderDetail;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 仓库出库单明细 Mapper接口
 *
 * @author default
 * @date 2022-12-05
 */
@Mapper
public interface StockOutOrderDetailMapper extends BaseMapper<StockOutOrderDetail> {

    /**
     * 根据原单据号查询列表
     *
     * @param orderNo
     * @return
     */
    List<StockOutOrderDetailGetDetailResponse> listStockOutOrderDetailByOrderNo(@Param("orderNo") String orderNo);

}